//
//  BJFindViewController.m
//  BaoJunNewEnergy
//
//  Created by 9s on 2018/3/16.
//  Copyright © 2018年 SIXECO. All rights reserved.
//

#import "BJFindViewController.h"

@interface BJFindViewController ()
@property(nonatomic,strong)UIScrollView *scrollView;
@end

@implementation BJFindViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.jz_navigationBarBackgroundAlpha = 0.f;
    [self.view addSubview:[self scrollView]];
    
    UIImage *image = [UIImage imageNamed:@"发现.jpg"];
    UIImageView *imasgeView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, image.size.height*displayScale/2)];
    imasgeView.image = image;
    imasgeView.contentMode = UIViewContentModeScaleAspectFit;
    _scrollView.contentSize = CGSizeMake(ScreenWidth, image.size.height*displayScale/2);
    [_scrollView addSubview:imasgeView];
    
}
- (UIScrollView *)scrollView{
    if (!_scrollView) {
        _scrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0,-KNavHeight, ScreenWidth, ScreenHeight-TabbarHeight)];
    }
    return _scrollView;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
